package com.julang.check.translate.common;

import java.io.InputStream;
/**
 * @author 赵自强
 * */
public interface HttpParams {
	/**
	 * 发送字符串
	 * @param baseUrl
	 * @return String
	 * @throws  Exception
	 */
	String send2String(String baseUrl) throws Exception;

	/**
	 * 发送到输入流
	 * @param baseUrl
	 * @return InputStream
	 * @throws Exception
	 */
	InputStream send2InputStream(String baseUrl) throws Exception;

	/**
	 * 添加键值对
	 * @param key
	 * @param value
	 * @return HttpParams
	 */
	HttpParams put(String key, String value);
}
